package com.yckj.dao;

import com.sun.org.apache.bcel.internal.generic.LOOKUPSWITCH;
import org.junit.Test;

import static org.junit.Assert.*;

public class UserDaoTest {
    UserDao userDao = new UserDao();

    @Test
    public void insertUser() {
        int flag = userDao.insertUser("Wanghaitao", "t1ab90");
        if (flag == 1){
            System.out.println("注册成功！");
        } else {
            System.out.println("注册失败！");
        }
    }

}